var obj = {
    value:123,
    name:"abc",
    foo() { return 42; }
};

console.log(obj);

